/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * NewJPanel.java
 *
 * Created on 2011-7-1, 16:06:41
 */
package seso;

/**
 *
 * @author Administrator
 */
public class NewJPanel extends javax.swing.JPanel {

    /** 是否处于新建模式 **/
    private boolean newMode = false;
    
    /** 是否处于显示模式 **/
    public boolean displayMode = true;
    
    /** 是否处于更改模式 **/
    private boolean changeMode = false;

    /** Creates new form NewJPanel */
    public NewJPanel() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        setName("Form"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 400, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 300, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    // End of variables declaration//GEN-END:variables

    /**
     * @return the isNewMode
     */
    public boolean getNewMode() {
        return newMode;
    }

    /**
     * @param isNewMode the isNewMode to set
     */
    public void setNewMode(boolean isNewMode) {
        this.newMode = isNewMode;
    }

    /**
     * @return the isDisplayMode
     */
    public boolean getDisplayMode() {
        return displayMode;
    }

    /**
     * @param isDisplayMode the isDisplayMode to set
     */
    public void setDisplayMode(boolean isDisplayMode) {
        this.displayMode = isDisplayMode;
    }

    /**
     * @return the isChangeMode
     */
    public boolean getChangeMode() {
        return changeMode;
    }

    /**
     * @param isChangeMode the isChangeMode to set
     */
    public void setChangeMode(boolean isChangeMode) {
        this.changeMode = isChangeMode;
    }
}
